package com.sc.admin.service;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.sc.admin.mapper.GoodsCatMapper;
import com.sc.admin.pojo.GoodsCat;

@Service
public class GoodsCatServiceImpl implements GoodsCatService {
	@Autowired
	private GoodsCatMapper goodsCatMapper;
	
	@Override
	public List<GoodsCat> getGoodsCatByPid(int pid) {
		return goodsCatMapper.selectGoodsCatByPid(pid);
	}

}
